package com.hxy.service;


import com.hxy.bean.Autowired;
import com.hxy.bean.Component;

@Component("a")
public class AService {

    @Autowired
    private Bservice b;

    public void query(){
        System.out.println("111");
        b.query1();
    }
    public void query1(){
        System.out.println("333");
    }
}
